import { Input, Tooltip } from 'antd';
import { CloseCircleOutlined } from '@ant-design/icons';
import styles from './Input.less';
import { useState } from 'react';
import classnames from 'classnames';
export default (props: any) => {
  const { id, onChange, value, disabled, isLine = false } = props;

  return (
    <Input
      status={undefined}
      className={classnames({ [styles.isLine]: isLine })}
      id={id}
      onChange={onChange}
      value={value}
      allowClear={true}
      disabled={disabled}
    />
  );
};
